package ProxyPattern;

public class AdminUser extends User{
    public AdminUser(String name, String ID) {
        super(name, ID);
    }
    @Override
    public void menu() {
        System.out.println("打开管理员菜单");
    }
    public void addBook(String bookname) {
        System.out.println(this.name+"，您添加成功"+bookname);
    }
}
